﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ConvertMediaPro.Models
{
    public class ContentViewModel
    {
        public Int64 ContentId { set; get; }
        public string Contents { set; get; }

        public string Title { set; get; }

        public Int64 CategoryId { set; get; }
    }

    public class ContentViewModelList
    {
        public IEnumerable<Model.Content> ContentList { set; get; }

        public Int64 CategoryId { set; get; }
        public string CategoryName { set; get; }

        /// <summary>
        /// 微信链接跳转内容的ID（最新内容的ID）
        /// </summary>
        public Int64 ContentId { set; get; }
    }

    public class ContentDetailViewModel
    {
        public Model.Content Content { set; get; }

        public string CategoryName { set; get; }
    }

    public class ContentViewModelList2
    {
        public IEnumerable<Model.Content> ContentList { set; get; }
    }
}